/**
 * Created by kule on 2017/6/5.
 */
import keys from 'lodash/keys';
import omit from 'lodash/omit';
const getOmitDefaultProps=(defaultProps,reactInstance,ReactClass)=>{
    return {
        ...defaultProps,
        ...omit(reactInstance.props,keys(ReactClass.defaultProps)),
    }
};
export default getOmitDefaultProps;